package com.haoshuang.zhouzhoubang.ui.page.mine.recognizance.one


import com.haoshuang.zhouzhoubang.databinding.ItemBsBinding
import com.haoshuang.zhouzhoubang.model.bean.BzjBean
import com.mufeng.libs.base.BaseBindingHolder
import com.mufeng.libs.base.BaseBindingQuickAdapter
import com.mufeng.libs.utils.view.load


/**
 * 订单模块中的订单列表适配器
 * */
class BsortAdapter(data: MutableList<BzjBean.DepositMenu>) :
    BaseBindingQuickAdapter<BzjBean.DepositMenu, ItemBsBinding>(data) {

    override fun onBindViewHolder(
        holder: BaseBindingHolder,
        position: Int,
        item: BzjBean.DepositMenu?
    ) {
        val binding = ItemBsBinding.bind(holder.itemView)
        binding.apply {
            tvName.text = item?.brand_name
            ivHead.load(item?.brand_pic)

        }
    }

}